package cn.sportvip.repository.mongo.sport;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.geo.Point;
import org.springframework.data.repository.PagingAndSortingRepository;

import cn.sportvip.entity.sport.GymnasiumBasic;

public interface GymnasiumBasicRepository extends PagingAndSortingRepository<GymnasiumBasic, Integer> {

	Page<GymnasiumBasic> findByLocationNear(Point point, Pageable pageable);
}